package cn.wu.basic.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor//有参构造
@NoArgsConstructor//无参构造
public class PageList<T> {
    //分页总条数
    private Integer totals;

    //当前页数据
    private List<T> rows=new ArrayList<>();
}
